home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / udev / rules.d / 95-devkit-power-battery-recall-lenovo.rules < prev    next >
Text File  |  2009-10-15  |  757b  |  25 lines

  1. ##############################################################################################################
  2. # Battery recall notices: Lenovo
  3. #
  4. # These are properties defining the behavior:
  5. #  DKP_RECALL_NOTICE
  6. #  DKP_RECALL_VENDOR
  7. #  DKP_RECALL_URL
  8. #
  9.  
  10. # only match power_supply devices
  11. SUBSYSTEM!="power_supply", GOTO="dkp_battery_recall_lenovo_end"
  12.  
  13. # only match batteries
  14. ATTR{type}!="Battery", GOTO="dkp_battery_recall_lenovo_end"
  15.  
  16. # only match correct manufacturer
  17. ATTR{manufacturer}!="SANYO", GOTO="dkp_battery_recall_lenovo_end"
  18.  
  19. ATTR{model_name}=="92P1131", ENV{DKP_RECALL_NOTICE}="1"
  20.  
  21. ENV{DKP_RECALL_NOTICE}=="1", ENV{DKP_RECALL_VENDOR}="LENOVO", ENV{DKP_RECALL_URL}="http://www.lenovo.com/batteryprogram"
  22.  
  23. LABEL="dkp_battery_recall_lenovo_end"
  24.  
  25.